<%#
# Url Index Partial

This partial renders an email address,
to be displayed on a resource's index page.

By default, the value is rendered as an `a` element.

## Local variables:

- `field`:
  An instance of [Administrate::Field::Url][1].
  A wrapper around the email pulled from the database.

[1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Url
%>

<%= content_tag :a, href: field.data do %>
  <%= field.data %>
<% end %>
